package gdut.imis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import gdut.imis.Utils.Result;
import gdut.imis.domain.User;
import gdut.imis.vo.UserVo;

import java.text.ParseException;

/**
 * @Description
 * @Author JiaFu
 * @Date 2023/4/8 19:27
 */
public interface UserService extends IService<User> {
    Result getUserInfo();

    Result addUser(User user);

    Result getUserDetails();

    Result updateUserInfo(User user);

    Result updatePassword(String originPassword, String newPassword);

    Result getTeacherListByUniversityId(Long universityId);

    Result addStudent(UserVo userVo);

    Result getFileMemoryByStudentId(Long studentId) throws ParseException;

}
